package com.lala.commom.remote;

import com.github.pagehelper.PageInfo;
import com.lala.commom.pojo.Question_bank;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface Question_bankRemote {
    @RequestMapping("/selectQue")
    PageInfo<Question_bank> selectQue(@RequestParam("pageNum") int pageNum, @RequestParam("pageSize") int pageSize);

    @RequestMapping("/updateQueTy")
    int updateQueTy(@RequestParam("id") Integer id);

    @RequestMapping("/updateQueBty")
    int updateQueBty(@RequestParam("id") Integer id);

    @RequestMapping("/chati")
    List<Question_bank> chati(@RequestParam("cid") int cid);
}
